<?php if (!defined('THINK_PATH')) exit(); if(!empty($list)): if(is_array($list)): $k = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><ul class="list_list">
        	<div class="text">
            	<p><a href="#" onclick="hrefDream('<?php echo ($vo["dream_id"]); ?>')"><?php echo (msubstr($vo["user_name"],0,3)); ?>：<?php echo (msubstr($vo["dream_title"],0,10)); ?></a></p>
            </div>
            <div class="cricle">
            	<p><?php echo ($vo["suport_count"]); ?></p>
            </div>
            <div class="img" align="right">
            	<a href="#" onclick="hrefDream('<?php echo ($vo["dream_id"]); ?>')"><img src="/Public/Home/Support/images/newfriend_contine.png"/></a>
            </div>
        </ul><?php endforeach; endif; else: echo "" ;endif; ?>
<?php else: ?>
还没有用户发布梦想<?php endif; ?>
<script type="text/javascript">
	$(function($) {
		var more = "<?php echo ($more); ?>";
		if(more == "1"){
			$("#more").show();
			var p = parseInt($("#page").val());
			p = p + 1;
			$("#page").val(p);
			
		}else{
			$("#more").hide();
			return false;
		}
	});
	function hrefDream(user_id){
		$("#page").val(1);
		var dream_user_id = "<?php echo ($_GET['para1']); ?>";
		window.location.href = "/Support/index?id="+user_id+"&para1="+dream_user_id;
    	return false;
	}
</script>